<template>
	<view class="my-search">
		<view class="search-content" @click="bindClick">
			<uni-icons type="search" size="15"></uni-icons>搜索
		</view>
	</view>
</template>

<script>
	export default {
		name: "MySearch",
		data() {
			return {

			};
		},
		methods: {
			bindClick() {
				this.$emit('click')
			}
		}
	}
</script>

<style lang="scss">
	.my-search {
		height: 50px;
		background-color: #c00000;
		display: flex;
		justify-content: center;
		align-items: center;

		.search-content {
			background-color: #fff;
			width: 90%;
			height: 30px;
			border-radius: 15px;
			text-align: center;
			line-height: 30px;
			font-size: 14px;
		}
	}
</style>
